from django.urls import re_path
from . import consumers

message_websocket_urlpatterns = [
    re_path(r'^ws/chat/$', consumers.ChatConsumer.as_asgi()),
    re_path(r'^message/chat/(?P<user_id>\d+)/$', consumers.ChatConsumer.as_asgi()),
]